package XMFramework.Interface
{
	public interface IEventDispatcher
	{
		function dispatchEvent( type:String, bubbles:Boolean, cancelable:Boolean, ...params ):void;
			
		function clearAllListener():void;
		
		function addEventListener( type:String, listener:Function, useCapture:Boolean=false, priority:int=0, useWeakReference:Boolean=false):void;
		
		function removeEventListener( type:String, listener:Function, useCapture:Boolean=false):void;
		
		function hasEventListener( type:String):Boolean;
	}
}